package cn.kgm.template.server.entity;

import cn.kgm.template.dto.base.TemplateEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;

/**
 * # 技术改变自己 #
 * 模板数据,时间类型表
 *
 * @author kapp-i
 * @date 2024-03-18 14:47:46
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "template_times")
@ApiModel(value = "TemplateTimes", description = "模板数据,时间类型表")
public class TemplateTimes extends TemplateEntity<Long> {

    /**
     * 模板ID
     */
    @ApiModelProperty(value = "模板ID")
    @TableField(value = "info_id")
    private Long infoId;

    /**
     * 时间输入值
     */
    @ApiModelProperty(value = "时间输入值")
    @TableField(value = "value")
    private LocalDateTime value;
}
